package com.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * @TableName stock_freeze_tcc
 */
@TableName(value ="stock_freeze_tcc")
@Data
public class StockFreezeTcc implements Serializable {
    private Long id;

    private Integer stockId;

    private Integer frozenCount;

    private Integer status;

    private String xid;
    
    public static class STATUS
    {
        public static final Integer PREPARE = 0;
        public static final Integer CONFIRM = 1;
        public static final Integer CANCEL = 2;
    }

    private static final long serialVersionUID = 1L;
}